package com.zzyl.service;

import cn.hutool.json.JSONObject;
import com.aliyun.iot20180120.models.BatchUpdateDeviceNicknameRequest;
import com.aliyun.iot20180120.models.DeleteDeviceRequest;
import com.aliyun.iot20180120.models.QueryDevicePropertyStatusRequest;
import com.aliyun.iot20180120.models.QueryThingModelPublishedRequest;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.vo.DeviceDataGraphVo;
import com.zzyl.vo.DevicePropertyStatusVo;
import com.zzyl.vo.DeviceVo;
import com.zzyl.vo.ProductVo;
import com.zzyl.vo.ThingModelPublishedVo;

import java.util.List;

/**
 * @Description DeviceService
 * @Author Bafeii7
 * @Date 2025-05-19 16:36
 */
public interface DeviceService {
    void syncProductList();

    List<ProductVo> allProductList();

    void registerDevice(DeviceDto deviceDto);

    PageResponse<DeviceVo> pageQueryDevice(DevicePageQueryDto devicePageQueryDto);

    DeviceVo queryDeviceDetail(DeviceDto deviceDto);

    ThingModelPublishedVo queryThingModelPublished(QueryThingModelPublishedRequest request);

    DevicePropertyStatusVo queryDevicePropertyStatus(QueryDevicePropertyStatusRequest request);

    void batchUpdateDeviceNickname(DeviceDto deviceDto);

    void deleteDevice(DeleteDeviceRequest request);

}
